package com.kfm.hotel.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 2.读取配置文件
 */
@ConfigurationProperties(prefix = "hotel")
@Data
public class HotelProperties {
    private String uploadPath;
    //获取访问路径
    private String baiduApiKey;
    private String baiduSecretKey;
}
